# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=bfs
pkgver=1.7
pkgrel=0
pkgdesc="Breadth-first variant of the UNIX find command"
url="https://github.com/tavianator/bfs"
arch="all"
license="0BSD"
makedepends="acl-dev libcap-dev linux-headers attr-dev"
checkdepends="bash acl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/tavianator/bfs/archive/$pkgver.tar.gz
	"

build() {
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f28fade6f41ff985bb69a9e1d48341a2f4740c0f7d1ee2c9109eddf85de384c1d3ab88a934a2a6c2a955041a53560dce0a38f97d1118d117380542020390c2b8  bfs-1.7.tar.gz"
